import React from 'react'

const UndoReduBtn = ({canUndo,canRedu,onUndo,onRedo})=>(
    <p>
        <button onClick={onUndo} disabled={!canUndo}>Undo</button>
        <button onClick={onRedo} disabled={!canRedu}>Redu</button>
    </p>
)

export default UndoReduBtn

